package advice;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;
import org.springframework.stereotype.Component;
import service.IOtherService;
import service.OtherServiceImpl;

@Component
@Aspect
public class ServiceIntroductionAdvice {


    @DeclareParents(value = "service.SomeServiceImpl",defaultImpl = OtherServiceImpl.class)
    public IOtherService otherService;

}
